package structure.appearance;

public class Demo {
    public static void main(String[] args) {
        // 伤害门面实现 门面封装了攻击子系统和防御子系统的调用 简化客户端伤害的计算过程
        HurtFacade hurtFacade = new HurtFacadeImpl();
        // 计算伤害
        Double hurtNum = hurtFacade.hurtNum();
        System.out.println("伤害：" + hurtNum);
    }
}
